credit2: Flexible cpu-to-schedule-spinlock mappings
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 14 Apr 2010 11:05:31 +0000 (12:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 14 Apr 2010 11:05:31 +0000 (12:05 +0100)
commit05d6aca7c21c19049cea3fbae1469eb1bb49807c
tree294b8c8873308a5e666b6b6a0b279db7c116dcb4
parentbe9a0806e197f4fd3fa64d6535e74e16d4338a83
credit2: Flexible cpu-to-schedule-spinlock mappings

Credit2 shares a runqueue between several cpus.  Rather than have
double locking and dealing with the cpu-to-runqueue races, allow
the scheduler to redefine the sched_lock-to-cpu mapping.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/ia64/vmx/vmmu.c
xen/common/sched_credit.c
xen/common/schedule.c
xen/include/xen/sched-if.h